package chixing.day02;
import java.util.Scanner;
import java.util.ArrayList;
public class IfelseDemo {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        if(a >11)
            System.out.println("a>11");
        else if(a <20) {
            System.out.println("22222");
            System.out.println("a>20");
        }else{
            System.out.println("a <= 11");
        }

        a = 40;
        if(a > 20)
            System.out.println("1");
        else
            System.out.println("2");

        a = 40;
        if(a >20)
            System.out.println("3");
        System.out.println("4");
        ArrayList arrayList = new ArrayList<>();
        arrayList.add(10);
        arrayList.add(20);
        System.out.println(arrayList);

    }
}
